package com.secondary.pojos;

import java.util.Date;
import java.util.Set;

/**
 * User entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer id;
	private String userAccount;
	private String password;
	private String name;
	private String college;
	private String specialty;
	private String grade;
	private String sex;
	private Integer state;
	private Date regeistDate;
	private Date lastDate;
	private String lastIp;
	
	private String question;
	private String answer;
	private String avatar;
	private Set<Goods> goods;
	private String signature;

	// Constructors

	/** default constructor */
	public User() {
	}

	/** full constructor */
	public User(Integer id, String userAccount, String password, String name,
			String college, String specialty, String grade, 
			Integer state, Date regeistDate, Date lastDate, String lastIp,
			String question, String answer) {
		this.id = id;
		this.userAccount = userAccount;
		this.password = password;
		this.name = name;
		this.college = college;
		this.specialty = specialty;
		this.grade = grade;
		
		this.state = state;
		this.regeistDate = regeistDate;
		this.lastDate = lastDate;
		this.lastIp = lastIp;
		
		this.question = question;
		this.answer = answer;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserAccount() {
		return this.userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCollege() {
		return this.college;
	}

	public void setCollege(String college) {
		this.college = college;
	}

	public String getSpecialty() {
		return this.specialty;
	}

	public void setSpecialty(String specialty) {
		this.specialty = specialty;
	}

	public String getGrade() {
		return this.grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getRegeistDate() {
		return this.regeistDate;
	}

	public void setRegeistDate(Date regeistDate) {
		this.regeistDate = regeistDate;
	}

	public Date getLastDate() {
		return this.lastDate;
	}

	public void setLastDate(Date lastDate) {
		this.lastDate = lastDate;
	}

	public String getLastIp() {
		return this.lastIp;
	}

	public void setLastIp(String lastIp) {
		this.lastIp = lastIp;
	}



	public String getQuestion() {
		return this.question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

	public String getAnswer() {
		return this.answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public Set<Goods> getGoods() {
		return goods;
	}

	public void setGoods(Set<Goods> goods) {
		this.goods = goods;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getSignature() {
		return signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}
	
}